.class Lcom/esfile/screen/recorder/videos/edit/player/c$h;
.super Ljava/lang/Object;
.source "VideoRenderPlayer.java"

# interfaces
.implements Lcom/esfile/screen/recorder/player/exo/a$g;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/esfile/screen/recorder/videos/edit/player/c;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/esfile/screen/recorder/videos/edit/player/c;


# direct methods
.method constructor <init>(Lcom/esfile/screen/recorder/videos/edit/player/c;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$h;->a:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Lcom/esfile/screen/recorder/player/exo/a;)V
    .locals 4

    const-string v0, "VideoRenderPlayer"

    const-string v1, "prepare"

    .line 1
    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$h;->a:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->k(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/cd;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$h;->a:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->k(Lcom/esfile/screen/recorder/videos/edit/player/c;)Les/cd;

    move-result-object v0

    .line 4
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$h;->a:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v1, v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(Lcom/esfile/screen/recorder/videos/edit/player/c;Les/cd;)V

    .line 5
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$h;->a:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->l(Lcom/esfile/screen/recorder/videos/edit/player/c;)Ljava/util/Map;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/Map;->keySet()Ljava/util/Set;

    move-result-object v1

    .line 6
    invoke-interface {v1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    .line 7
    iget-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$h;->a:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v3}, Lcom/esfile/screen/recorder/videos/edit/player/c;->l(Lcom/esfile/screen/recorder/videos/edit/player/c;)Ljava/util/Map;

    move-result-object v3

    invoke-interface {v3, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Les/od;

    invoke-virtual {v2, v0}, Les/od;->b(Les/cd;)V

    goto :goto_0

    .line 8
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$h;->a:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->m(Lcom/esfile/screen/recorder/videos/edit/player/c;)I

    move-result v0

    if-ltz v0, :cond_1

    .line 9
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$h;->a:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->m(Lcom/esfile/screen/recorder/videos/edit/player/c;)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->d(I)V

    .line 10
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$h;->a:Lcom/esfile/screen/recorder/videos/edit/player/c;

    const/4 v1, -0x1

    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->c(Lcom/esfile/screen/recorder/videos/edit/player/c;I)I

    .line 11
    :cond_1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$h;->a:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/h;->f()V

    .line 12
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/player/c$h;->a:Lcom/esfile/screen/recorder/videos/edit/player/c;

    iget-object v0, v0, Lcom/esfile/screen/recorder/videos/edit/player/c;->C:Ljava/util/List;

    if-eqz v0, :cond_2

    .line 13
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_1
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_2

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esfile/screen/recorder/player/exo/a$g;

    .line 14
    invoke-interface {v1, p1}, Lcom/esfile/screen/recorder/player/exo/a$g;->a(Lcom/esfile/screen/recorder/player/exo/a;)V

    goto :goto_1

    :cond_2
    return-void
.end method
